Skip to content

撤销超管变更申请单

当申请单状态为编辑中/审核中/已驳回时,才支持撤销

请求参数类型描述
apply_idstring微信支付申请单号
php
$instance->v3->mchalterapply->mchcontactalterapplyment->_apply_id_->revoke->postAsync([
  'apply_id' => '20220617143306000013906025001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/mchalterapply/mchcontactalterapplyment/{apply_id}/revoke')->postAsync([
  'apply_id' => '20220617143306000013906025001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/mchalterapply/mchcontactalterapplyment/{apply_id}/revoke']->postAsync([
  'apply_id' => '20220617143306000013906025001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->mchalterapply->mchcontactalterapplyment->_apply_id_->revoke->post([
  'apply_id' => '20220617143306000013906025001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/mchalterapply/mchcontactalterapplyment/{apply_id}/revoke')->post([
  'apply_id' => '20220617143306000013906025001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/mchalterapply/mchcontactalterapplyment/{apply_id}/revoke']->post([
  'apply_id' => '20220617143306000013906025001',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
apply_idstring申请单号
statestring申请单状态
APPLYMENT_STATE_AUDITING | APPLYMENT_STATE_REJECTED | APPLYMENT_STATE_MODIFING | APPLYMENT_STATE_FINISHED | APPLYMENT_STATE_CANCELED 枚举值之一

参阅 官方文档

Published on the GitHub by TheNorthMemory